//连接mongoose
var mongoose = require('mongoose');


// 创建骨架
const address = mongoose.Schema({ 
    id:String,
    result:Array 
//   name:String,
//   phone:String,
//   prov:String,
//   city:String,
//   country:String,
//   detailAddress:String,
//   isDefault:Boolean
 
})

// 创建模型
const addressSchema = mongoose.model('addresses', address);

module.exports = addressSchema;